package com.ashun.dao;

import com.ashun.entity.User;

import org.springframework.cache.annotation.CachePut;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by chenwenshun on 16/10/7.
 */
public interface UserRepository extends JpaRepository<User,Long> {

    public User findByUsername(String username);
}
